package com.wc.alorithm_luogu.P5714;

import java.util.Scanner;

/**
 * @Author congge
 * @Date 2023/4/18 10:04
 * @description https://www.luogu.com.cn/problem/P5714
 * 肥胖问题
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        double m = sc.nextDouble();

        double h = sc.nextDouble();

        double BMI = m / h / h;

        // 记录小数点后的第五位
        char c = '0';
        String ans;
        if (BMI < 18.5) {
            ans = "Underweight";
        } else if (BMI < 24) {
            ans = "Normal";
        } else {
            // 处理有效数字
            String[] split = String.valueOf(BMI).split("\\.");
            if (split[1].length() > 4) {
                c = split[1].charAt(4);

                split[1] = split[1].substring(0, 4);
            }
            while (split[1].length() > 0 && split[1].endsWith("0")) {
                split[1] = split[1].substring(0, split[1].length() - 1);
            }
            // 为了方便下数点后面的数计算
            int x = Integer.parseInt(split[1]);

            if (x == 9999 && c - '0' > 4) {
                System.out.print(Integer.parseInt(split[0]) + 1);
            } else if (!split[1].equals("")) {
                System.out.print(Integer.parseInt(split[0]));
                // 记录前面有几个0
                int preZero = 0;
                int bi = x;
                while (bi!=0){
                    bi/=10;
                    preZero++;
                }
                preZero = split[1].length() - preZero;

                // 判断四舍五入
                if (c - '0' > 4) {
                    x += 1;
                    while (x % 10 == 0 && x != 0) {
                        x /= 10;
                        preZero--;
                    }
                }
                System.out.print(".");
                while (preZero-->0){
                    System.out.print('0');
                }
                System.out.println(x);
            }
            ans = "Overweight";
        }
        System.out.println(ans);
    }
}
